/*
 * @Author: LVGRAPE
 * @LastEditors: LVGRAPE
 */

#ifndef __MOTOR_MIX_H
#define __MOTOR_MIX_H

#ifdef __cplusplus
extern "C"
{
#endif

typedef struct motorMixer_s {
    float throttle;
    float roll;
    float pitch;
    float yaw;
} motorMixer_t;

    void motor_mix(void);
    float getMotorMixRange(void);
    float get_throttle(void);
    extern motorMixer_t currentMixer;
    extern int16_t motor[4];
#ifdef __cplusplus
}
#endif

#endif /* __MOTOR_MIX_H */
